<!DOCTYPE html>
<html lang="zh-CN">
    <head>
        <meta charset="UTF-8" />
        <title>24_浮动-案例练习2-文字环绕图片</title>

        <style>
            div {
                width: 450px;
                height: 250px;
                border: 1px solid black;
            }

            img {
                float: left;
            }
        </style>
    </head>
    <body>

        <div>
            <img src="./img/02.jpg" alt="">
            Lorem ipsum dolor sit amet consectetur adipisicing elit. Hic eos doloremque, recusandae quia inventore laboriosam, debitis quo at autem officia earum. Quos autem ratione soluta ipsa, corporis adipisci asperiores nulla.
        </div>
      
    </body>
</html>